from django.urls import re_path

from activity.views import gatherings

urlpatterns = [
    # """活动模块路由"""
    # # 路由注释
    # re_path('^$', views.View.as_view()),
    re_path('^gatherings/(?P<id>.+)/join/$', gatherings.GatheringsJoinView.as_view()),  # 报名活动
    re_path('^gatherings/(?P<pk>.+)/$', gatherings.GatheringsIdView.as_view()),  # 活动详情
    re_path('^gatherings/$', gatherings.GatheringsView.as_view()),  # 活动列表

]
